package nm.util.alarmclock;

import java.io.Serializable;
import javax.swing.JSpinner;
import javax.swing.SpinnerNumberModel;

public class AlarmGUIMinute extends JSpinner implements Serializable {
	public static final long serialVersionUID = 1L;
	
	public AlarmGUIMinute(int value) {
		super(new SpinnerNumberModel(value, AlarmSettings.MINUTE_MIN,
				AlarmSettings.MINUTE_MAX, 1));
		setEditor(new JSpinner.NumberEditor(this, "00"));
	}
	
}//end AlarmGUIMinute
